package cn.tac.framework.core.pojo;

/**
 * 与业务相关的实体模型基类
 *
 * @author : tac
 * @since : 2017/7/14
 */
public abstract class GenericBizModel<PK> extends GenericModel<PK> implements IGenericBizModel<PK> {
    private Boolean isEnable;

    @Override
    public Boolean getEnable() {
        return isEnable;
    }

    @Override
    public void setEnable(Boolean active) {
        isEnable = active;
    }

    @Override
    public void init() {
        super.init();
        setEnable(true);
    }
}
